package com.dlwx.parttimetalent.adapter;

import android.content.Context;
import android.widget.TextView;

import com.dlwx.parttimetalent.R;
import com.dlwx.parttimetalent.bean.OrderRecBean;

/**
 * Created by Administrator on 2018/1/6.
 */

public class FilterListAdapter extends ListBaseAdapter<OrderRecBean.BodyBean> {
    private Context context;
    public FilterListAdapter(Context context) {
        super(context);
        this.context=context;
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_dialog_filter;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        OrderRecBean.BodyBean bean = getDataList().get(position);
        TextView tv_title=holder.getView(R.id.tv_title);
        tv_title.setText(bean.getClassname());

    }
}
